package com.puyuba.puyuba.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by gzy
 */

public class UserInfoBean implements Serializable {

    private String token;
    private UserBean user;
    private RoleBean role;

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public UserBean getUser() {
        return user;
    }

    public void setUser(UserBean user) {
        this.user = user;
    }

    public RoleBean getRole() {
        return role;
    }

    public void setRole(RoleBean role) {
        this.role = role;
    }

    public static class UserBean {
        private int id;
        private int fid;
        private String gid;
        private String fids;
        private Object cids;
        private String email;
        private String uname;
        private String rname;
        private String mobile;
        private String avatar;
        private int sex;
        private int emailstatus;
        private int avatarstatus;
        private int mobilestatus;
        private int jifen;
        private int money;
        private int viplevel;
        private int adminid;
        private int uviptime;
        private int type;
        private String regip;
        private String lastip;
        private int expiretime;
        private int expiredate;
        private String idcard;
        private String idname;
        private int admin_roles_id;
        private int old_id;
        private String old_pwd;
        private Object old_permissions;
        private int old_question;
        private String old_answer;
        private String updated_at;
        private String created_at;
        private int crm_user_id;
        private String hx_uid;

        public String getHx_uid() {
            return hx_uid;
        }

        public void setHx_uid(String hx_uid) {
            this.hx_uid = hx_uid;
        }

        public int getCrm_user_id() {
            return crm_user_id;
        }

        public void setCrm_user_id(int crm_user_id) {
            this.crm_user_id = crm_user_id;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getFid() {
            return fid;
        }

        public void setFid(int fid) {
            this.fid = fid;
        }

        public String getGid() {
            return gid;
        }

        public void setGid(String gid) {
            this.gid = gid;
        }

        public String getFids() {
            return fids;
        }

        public void setFids(String fids) {
            this.fids = fids;
        }

        public Object getCids() {
            return cids;
        }

        public void setCids(Object cids) {
            this.cids = cids;
        }

        public String getEmail() {
            return email;
        }

        public void setEmail(String email) {
            this.email = email;
        }

        public String getUname() {
            return uname;
        }

        public void setUname(String uname) {
            this.uname = uname;
        }

        public String getRname() {
            return rname;
        }

        public void setRname(String rname) {
            this.rname = rname;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public int getSex() {
            return sex;
        }

        public void setSex(int sex) {
            this.sex = sex;
        }

        public int getEmailstatus() {
            return emailstatus;
        }

        public void setEmailstatus(int emailstatus) {
            this.emailstatus = emailstatus;
        }

        public int getAvatarstatus() {
            return avatarstatus;
        }

        public void setAvatarstatus(int avatarstatus) {
            this.avatarstatus = avatarstatus;
        }

        public int getMobilestatus() {
            return mobilestatus;
        }

        public void setMobilestatus(int mobilestatus) {
            this.mobilestatus = mobilestatus;
        }

        public int getJifen() {
            return jifen;
        }

        public void setJifen(int jifen) {
            this.jifen = jifen;
        }

        public int getMoney() {
            return money;
        }

        public void setMoney(int money) {
            this.money = money;
        }

        public int getViplevel() {
            return viplevel;
        }

        public void setViplevel(int viplevel) {
            this.viplevel = viplevel;
        }

        public int getAdminid() {
            return adminid;
        }

        public void setAdminid(int adminid) {
            this.adminid = adminid;
        }

        public int getUviptime() {
            return uviptime;
        }

        public void setUviptime(int uviptime) {
            this.uviptime = uviptime;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getRegip() {
            return regip;
        }

        public void setRegip(String regip) {
            this.regip = regip;
        }

        public String getLastip() {
            return lastip;
        }

        public void setLastip(String lastip) {
            this.lastip = lastip;
        }

        public int getExpiretime() {
            return expiretime;
        }

        public void setExpiretime(int expiretime) {
            this.expiretime = expiretime;
        }

        public int getExpiredate() {
            return expiredate;
        }

        public void setExpiredate(int expiredate) {
            this.expiredate = expiredate;
        }

        public String getIdcard() {
            return idcard;
        }

        public void setIdcard(String idcard) {
            this.idcard = idcard;
        }

        public String getIdname() {
            return idname;
        }

        public void setIdname(String idname) {
            this.idname = idname;
        }

        public int getAdmin_roles_id() {
            return admin_roles_id;
        }

        public void setAdmin_roles_id(int admin_roles_id) {
            this.admin_roles_id = admin_roles_id;
        }

        public int getOld_id() {
            return old_id;
        }

        public void setOld_id(int old_id) {
            this.old_id = old_id;
        }

        public String getOld_pwd() {
            return old_pwd;
        }

        public void setOld_pwd(String old_pwd) {
            this.old_pwd = old_pwd;
        }

        public Object getOld_permissions() {
            return old_permissions;
        }

        public void setOld_permissions(Object old_permissions) {
            this.old_permissions = old_permissions;
        }

        public int getOld_question() {
            return old_question;
        }

        public void setOld_question(int old_question) {
            this.old_question = old_question;
        }

        public String getOld_answer() {
            return old_answer;
        }

        public void setOld_answer(String old_answer) {
            this.old_answer = old_answer;
        }

        public String getUpdated_at() {
            return updated_at;
        }

        public void setUpdated_at(String updated_at) {
            this.updated_at = updated_at;
        }

        public String getCreated_at() {
            return created_at;
        }

        public void setCreated_at(String created_at) {
            this.created_at = created_at;
        }
    }


    public static class RoleBean {

        private int roletype;
        private List<SysroleListBean> sysrole_list;
        private int selrole;
        private List<SelroleListBean> selrole_list;
        private List<?> company_auth;

        public int getRoletype() {
            return roletype;
        }

        public void setRoletype(int roletype) {
            this.roletype = roletype;
        }

        public List<SysroleListBean> getSysrole_list() {
            return sysrole_list;
        }

        public void setSysrole_list(List<SysroleListBean> sysrole_list) {
            this.sysrole_list = sysrole_list;
        }

        public int getSelrole() {
            return selrole;
        }

        public void setSelrole(int selrole) {
            this.selrole = selrole;
        }

        public List<SelroleListBean> getSelrole_list() {
            return selrole_list;
        }

        public void setSelrole_list(List<SelroleListBean> selrole_list) {
            this.selrole_list = selrole_list;
        }

        public List<?> getCompany_auth() {
            return company_auth;
        }

        public void setCompany_auth(List<?> company_auth) {
            this.company_auth = company_auth;
        }

        public static class SysroleListBean {
            private int id;
            private String title;
            private int status;
            private int student;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public int getStudent() {
                return student;
            }

            public void setStudent(int student) {
                this.student = student;
            }
        }


        public static class SelroleListBean {
            private int id;
            private String title;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }
        }
    }
}
